package com.relytosoft.mizar.media.analyze.api.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.relytosoft.dubhe.common.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 库信息
 *
 * @author lj
 * @date 2022/5/12 9:10
 */
@TableName("AY_GROUP_BASE")
@ApiModel("AyGroupBase")
public class AyGroupBase extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "ID", type = IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    private Integer id;

    /**
     * 库类型;1车辆  2 人脸
     */
    @ApiModelProperty(value = "库类型;1车辆  2 人脸")
    @TableField("TYPE")
    private Integer type;

    /**
     * 库名称;库名称
     */
    @ApiModelProperty(value = "库名称;库名称")
    @TableField("NAME")
    private String name;

    /**
     * 库类型;1白名单 2黑名单 3临时名单
     */
    @ApiModelProperty(value = "库类型;1白名单 2黑名单 3临时名单")
    @TableField("GROUP_TYPE")
    private Integer groupType;

    /**
     * 容量
     */
    @ApiModelProperty(value = "容量")
    @TableField("VOLUME")
    private Integer volume;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
    @TableField("REMARK")
    private String remark;

    /**
     * 三方平台人脸库ID
     */
    @ApiModelProperty(value = "三方平台人脸库ID")
    @TableField("PLATEFORM_GROUP_ID")
    private String plateformGroupId;

    /**
     * 状态
     * 1. 有效  0. 无效
     */
    @ApiModelProperty(value = "状态")
    @TableField("STATUS")
    private Integer status;

    public AyGroupBase() {
    }

    public AyGroupBase(Integer status) {
        this.status = status;
    }

    /**
     * 获得主键ID
     */
    public Integer getId() {
        return this.id;
    }

    /**
     * 设置主键ID
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获得库类型;1车辆  2 人脸
     */
    public Integer getType() {
        return this.type;
    }

    /**
     * 设置库类型;1车辆  2 人脸
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * 获得库名称;库名称
     */
    public String getName() {
        return this.name;
    }

    /**
     * 设置库名称;库名称
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获得库类型;1白名单 2黑名单 3临时名单
     */
    public Integer getGroupType() {
        return this.groupType;
    }

    /**
     * 设置库类型;1白名单 2黑名单 3临时名单
     */
    public void setGroupType(Integer groupType) {
        this.groupType = groupType;
    }

    /**
     * 获得容量
     */
    public Integer getVolume() {
        return this.volume;
    }

    /**
     * 设置容量
     */
    public void setVolume(Integer volume) {
        this.volume = volume;
    }

    /**
     * 获得描述
     */
    public String getRemark() {
        return this.remark;
    }

    /**
     * 设置描述
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 获得三方平台人脸库ID
     */
    public String getPlateformGroupId() {
        return this.plateformGroupId;
    }

    /**
     * 设置三方平台人脸库ID
     */
    public void setPlateformGroupId(String plateformGroupId) {
        this.plateformGroupId = plateformGroupId;
    }

    /**
     * 获得状态
     */
    public Integer getStatus() {
        return this.status;
    }

    /**
     * 设置状态
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "AyGroupBase{id=" + id +
                ",type=" + type +
                ",name=" + name +
                ",groupType=" + groupType +
                ",volume=" + volume +
                ",remark=" + remark +
                ",plateformGroupId=" + plateformGroupId +
                ",status=" + status +
                ",createdId=" + createdId +
                ",createdBy=" + createdBy +
                ",createdTime=" + createdTime +
                ",updatedId=" + updatedId +
                ",updatedBy=" + updatedBy +
                ",updatedTime=" + updatedTime +
                "}";
    }
}

